﻿using ERP.Workflow.Designer.Domain.IRepository;
using ERP.Workflow.Designer.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace ERP.Workflow.Designer.EntityFrameworkCore.Repositorys
{

    public class PortRepository : EfCoreRepository<IWorkflowDesignerDbContext, Port, Guid>, IEfCoreRepository<Port>,IPortRepository
    {
        public PortRepository(IDbContextProvider<IWorkflowDesignerDbContext> dbContextProvider) : base(dbContextProvider)
        {
        }

        public override async Task<IQueryable<Port>> GetQueryableAsync()
        {

            return await base.GetQueryableAsync();
        }
    }

}
